package co.yixiang.modules.rabbitMq.config;

import co.yixiang.modules.rabbitMq.constant.QueueConstants;
import org.springframework.amqp.core.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zf
 * @date 2020-08-14
 * @description rabbitmq配置类
 */
//@Configuration
public class RabbitConfig {


    /**
     * 定义string队列
     * @return
     */
    //@Bean
    public Queue string() {
        return new Queue(QueueConstants.TEST_QUEUE);
    }
    
}